<template>
  <div class="c">
    <div class="banner">
      <a href="#">
        <img src="../../assets/images/img/banner.f559b49d.png" alt="" />
      </a>
    </div>

    <div class="list">
      <div class="title">
        <div class="left">
          <span>
            <img src="../../assets/images/img/jingpin.png" alt="" />
          </span>
          <h4>精品推荐</h4>
        </div>

        <div class="right">
          <span class="more">更多</span>
          <span class="jiao">
            <img src="../../assets/images/img/arrow.png" alt="" />
          </span>
        </div>
      </div>
      <ul class="prod">
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
          <div class="section">
            <img src="../../assets/images/img/section_hot.png" alt="" />
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
          <div class="section">
            <img src="../../assets/images/img/section_hot.png" alt="" />
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
          <div class="section">
            <img src="../../assets/images/img/section_hot.png" alt="" />
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
          <div class="section">
            <img src="../../assets/images/img/section_hot.png" alt="" />
          </div>
        </li>
      </ul>
    </div>

    <div class="ad">
      <div class="title">
        <div class="left">
          <span>
            <img src="../../assets/images/img/jingpin.png" alt="" />
          </span>
          <h4>热门兑换</h4>
        </div>

        <div class="right">
          <span class="more">更多</span>
          <span class="jiao">
            <img src="../../assets/images/img/arrow.png" alt="" />
          </span>
        </div>
      </div>
      <div class="adv">
        <a href="#">
          <img src="../../assets/images/img/ad.4c6b6225.png" alt="" />
        </a>
      </div>

      <ul class="prod">
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
        <li>
          <div class="img">
            <img src="../../assets/images/img/listimg.jpg" alt="" />
          </div>
          <div class="msg">
            <p class="name">叩丁狼精品T恤</p>
            <p class="num">200积分</p>
            <button>立即兑换</button>
          </div>
        </li>
      </ul>
    </div>

    <div class="score_strategy">
      <div class="title">
        <div class="left">
          <span>
            <img src="../../assets/images/img/jingpin.png" alt="" />
          </span>
          <h4>积分攻略</h4>
        </div>
      </div>
      <ul class="list">
        <li>
          <a href="#">
            <img
              src="../../assets/images/img/integral-01.9386d4bf.png"
              alt=""
            />
          </a>
        </li>
        <li>
          <a href="#">
            <img
              src="../../assets/images/img/integral-01.9386d4bf.png"
              alt=""
            />
          </a>
        </li>
        <li>
          <a href="#">
            <img
              src="../../assets/images/img/integral-01.9386d4bf.png"
              alt=""
            />
          </a>
        </li>
        <li>
          <a href="#">
            <img
              src="../../assets/images/img/integral-01.9386d4bf.png"
              alt=""
            />
          </a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.c {
  width: 1200px;
  margin: 0 auto;
  .banner {
    width: 100%;
    height: 446px;
    margin-bottom: 30px;
    img {
      width: 100%;
      height: 446px;
    }
  }
  div.list {
    background-color: #f5f5f5;
    div.title {
      width: 100%;
      height: 106px;
      background-color: pink;
      display: flex;
      justify-content: space-between;
      div.left {
        display: flex;

        box-sizing: border-box;

        span {
          width: 40px;
          height: 36px;
          padding: 50px 0 22px 0;
          img {
            vertical-align: top;
          }
        }
        h4 {
          padding: 55px 0 22px 0;
          width: 128xp;
          height: 29px;
          font-size: 30px;
          font-family: SourceHanSansSC;
          font-weight: bold;
          color: #242b39;
          line-height: 23px;
          margin-left: 10px;
        }
      }

      div.right {
        display: flex;

        box-sizing: border-box;
        span.more {
          padding: 72px 0 19px 0;
          margin-right: 6px;
          width: 32px;
          height: 15px;
          font-size: 16px;
          font-family: SourceHanSansSC;
          font-weight: 300;
          color: #666666;
          line-height: 23px;
        }
        span.jiao {
          padding: 73px 0 19px 0;
          margin-right: 1px;
          width: 14px;
          height: 14px;
          line-height: 21px;
        }
      }
    }
    ul.prod {
      display: flex;
      justify-content: space-between;
      li {
        width: 285px;
        height: 412px;
        position: relative;
        box-shadow: 5px 5px 0.6 #666666;
        transition: 1s all;
        &:hover {
          transform: scale(1.02);
        }
        // background-color: pink;
        div.img {
          width: 285px;
          height: 250px;
          img {
            width: 285px;
            height: 250px;
          }
        }
        div.msg {
          width: 285px;
          height: 162px;
          display: flex;
          flex-direction: column;
          justify-content: space-evenly;
          align-items: center;
          // text-align: center;
          button {
            width: 100px;
            height: 36px;
            display: inline;
            border: 1px solid #0a328e;
            &:hover {
              background-color: #0a328e;
              color: #fff;
            }
          }
          p.name {
            width: 118px;
            height: 18px;
            font-size: 18px;
            font-family: SourceHanSansSC;
            font-weight: 300;
            color: #333333;
            line-height: 23px;
          }
          p.num {
            width: 70px;
            height: 18px;
            font-size: 18px;
            font-family: SourceHanSansSC;
            font-weight: bold;
            color: #fd604d;
            line-height: 23px;
          }
        }
        div.section {
          position: absolute;
          top: 0;
          left: 0;
          width: 58px;
          height: 58px;
          background: #fff;
        }
      }
    }
  }
  div.ad {
    div.title {
      width: 100%;
      height: 106px;
      // background-color: pink;
      display: flex;
      justify-content: space-between;
      div.left {
        display: flex;

        box-sizing: border-box;

        span {
          width: 40px;
          height: 36px;
          padding: 50px 0 22px 0;
          img {
            vertical-align: top;
          }
        }
        h4 {
          padding: 55px 0 22px 0;
          width: 128xp;
          height: 29px;
          font-size: 30px;
          font-family: SourceHanSansSC;
          font-weight: bold;
          color: #242b39;
          line-height: 23px;
          margin-left: 10px;
        }
      }

      div.right {
        display: flex;

        box-sizing: border-box;
        span.more {
          padding: 72px 0 19px 0;
          margin-right: 6px;
          width: 32px;
          height: 15px;
          font-size: 16px;
          font-family: SourceHanSansSC;
          font-weight: 300;
          color: #666666;
          line-height: 23px;
        }
        span.jiao {
          padding: 73px 0 19px 0;
          margin-right: 1px;
          width: 14px;
          height: 14px;
          line-height: 21px;
        }
      }
    }
    div.adv {
      height: 180px;
      width: 100%;
      margin-bottom: 30px;
    }

    ul.prod {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      li {
        width: 285px;
        height: 412px;
        // background-color: pink;
        transition: 1s all;
        &:hover {
          transform: scale(1.02);
        }
        &:nth-child(-n + 4) {
          margin-bottom: 20px;
        }
        div.img {
          width: 285px;
          height: 250px;
          img {
            width: 285px;
            height: 250px;
          }
        }
        div.msg {
          width: 285px;
          height: 162px;
          display: flex;
          flex-direction: column;
          justify-content: space-evenly;
          align-items: center;
          // text-align: center;
          button {
            width: 100px;
            height: 36px;
            display: inline;
            border: 1px solid #0a328e;
            &:hover {
              background-color: #0a328e;
              color: #fff;
            }
          }
          p.name {
            width: 118px;
            height: 18px;
            font-size: 18px;
            font-family: SourceHanSansSC;
            font-weight: 300;
            color: #333333;
            line-height: 23px;
          }
          p.num {
            width: 70px;
            height: 18px;
            font-size: 18px;
            font-family: SourceHanSansSC;
            font-weight: bold;
            color: #fd604d;
            line-height: 23px;
          }
        }
      }
    }
  }
  div.score_strategy {
    div.title {
      width: 100%;
      height: 106px;
      // background-color: pink;
      display: flex;
      justify-content: space-between;
      div.left {
        display: flex;

        box-sizing: border-box;

        span {
          width: 40px;
          height: 36px;
          padding: 50px 0 22px 0;
          img {
            vertical-align: top;
          }
        }
        h4 {
          padding: 55px 0 22px 0;
          width: 128xp;
          height: 29px;
          font-size: 30px;
          font-family: SourceHanSansSC;
          font-weight: bold;
          color: #242b39;
          line-height: 23px;
          margin-left: 10px;
        }
      }
    }
    ul.list {
      display: flex;
      justify-content: space-between;
    }
  }
}
</style>
